CC = gcc
CFLAGS = -Wall -g -I.
LDFLAGS = -lsqlite3 -lpthread

OBJS = client_main.o logger.o netconnect.o sql.o temper.o

client: $(OBJS)
	$(CC) -o $@ $^ $(LDFLAGS)

%.o: %.c
	$(CC) $(CFLAGS) -c $<

clean:
	rm -f *.o client temper.db